﻿<sdk:TreeViewItem xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Name="treeViewItem"  x:Class="ArgusControls.ImageTreeViewItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="50" d:DesignWidth="200">

	<sdk:TreeViewItem.Header>
		<StackPanel Orientation="Horizontal">
			<Image x:Name="imgHeader" VerticalAlignment="Center"/>
			<TextBlock x:Name="tbHeader" VerticalAlignment="Center" Foreground="{Binding Foreground, ElementName=treeViewItem}" Margin="5,0,0,0"/>
		</StackPanel>
	</sdk:TreeViewItem.Header>
</sdk:TreeViewItem>